function resetAll(main)

for index = 1 : main.filterAmount % Deletes filters
    filterToDeleteID = main.filterTracking{index,1};    % Gets X, for 'filterX'
    deleteFilter(main, filterToDeleteID);   % Deletes it
end

for index = 1 : main.filterAmount
    deletePlot(main, index);
end

% This may be called "initial settings" to work along stageOne creation

main.filterTracking = {};
main.filterAmount = 0;
main.filterNumber = 0;

main.plotTracking = {};

delete(main.templateTracking);  %Deletes template
main.isTemplate = 0;    % Flag.

% VER si esto es correcto aca
cla(main.handles.axes_main);
cla(main.handles.axes_attenuation);

end